package com.example.combwx.mvp.view.news.adapter;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.example.combwx.R;
import com.example.combwx.mvp.model.entity.MoreChannel;

import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

public class MoreChannelAdapter extends BaseQuickAdapter<MoreChannel.Values, BaseViewHolder> {
    public MoreChannelAdapter() {
        super(R.layout.item_channel_foot);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, MoreChannel.Values values) {
        baseViewHolder.setText(R.id.channel_foot_tv,values.channel_name);
    }
}
